# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=font-schumacher-misc
pkgver=1.1.3
pkgrel=1
pkgdesc="X.org misc font"
url="https://xorg.freedesktop.org/"
arch="noarch"
license="NTP"
options="!check"
depends="encodings font-alias mkfontscale fontconfig"
makedepends="font-util-dev bdftopcf"
source="https://www.x.org/releases/individual/font/font-schumacher-misc-$pkgver.tar.xz"

build() {
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--with-mapfiles=/usr/share/fonts/util \
		--with-fontdir=/usr/share/fonts/misc
	make
}

package() {
	make DESTDIR="$pkgdir" \
		MKFONTDIR=: \
		MKFONTSCALE=: \
		FCCACHE=: \
		install
}

sha512sums="
83b25495535176a5e348269358ac34af8223023a55e2c5c599725ee90ec9ff3ea9ff19cca46b93eeae7ef985da325f9065c83d829a4a8c72d0c3c197242a1b64  font-schumacher-misc-1.1.3.tar.xz
"
